package com.qzimp.fujiancuo.service;

import com.mybatisflex.core.service.IService;
import com.qzimp.fujiancuo.entity.Userinfo;
import com.qzimp.fujiancuo.entity.vo.UserHaveLogsVo;

/**
 *  服务层。
 *
 * @author 李欧雯
 * @since 2024-12-20
 */
public interface UserinfoService extends IService<Userinfo> {
    Userinfo findUserinfoByLoginName(String loginName);

    Userinfo login(String loginName,String password);

    UserHaveLogsVo queryUserHaveLogs(String loginName);
    void updatePasswordById(Integer userId, String newPassword);

    Userinfo findUserinfoByUserId(Integer userId);
}
